package cn.iocoder.yudao.module.system.controller.admin.mini.group.order.controller.admin.grouporder.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 团购订单 Excel 导出 Request VO，参数和 GroupOrderPageReqVO 是一致的")
@Data
public class GroupOrderExportReqVO {

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "订单号")
    private String orderCode;

    @Schema(description = "用户id", example = "4582")
    private Integer uid;

    @Schema(description = "用户名称", example = "张三")
    private String nickName;

    @Schema(description = "会员等级")
    private String vipLevel;

    @Schema(description = "奖品")
    private String prize;

    @Schema(description = "加入时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private String[] addTime;

    @Schema(description = "商品信息")
    private String goods;

    @Schema(description = "团购商品id", example = "22772")
    private Integer groupGoodsId;

    @Schema(description = "支付状态1已支付2未支付", example = "2")
    private Integer payStatus;

    @Schema(description = "支付时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] payTime;

    @Schema(description = "订单状态1进行中2已完成3已失效", example = "2")
    private Integer orderStatus;

}
